@import "theme.less";

/*nav start*/
.nav {
    display: flex;
    align-items: center;
    width: 750rpx;
    background: linear-gradient(180deg,rgba(255,255,255,1) 0%,rgba(248,247,247,1) 100%);
    position: sticky;
    top: 0;
    z-index: 19;
    padding: 50rpx 30rpx 30rpx;
    margin-bottom: 20rpx;

    &:before{
        content: '';
        height: 1rpx;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 40;
        background-color: rgba(248,247,247,1);
    }
}

.nav-scroll {
    width: 690rpx;
    display: flex;
    white-space: nowrap;

    &.has-more{
        width: 570rpx;
    }

    .nav-item {
        display: inline-block;
        padding: 10rpx 28rpx;
        font-size: 26rpx;
        font-weight:400;
        color: #333333;
        margin-right: 20rpx;
        border-radius: 30rpx;
        background-color: #F2F2F2;
    }

    .active {
        color: #FFFFFF;
        background-color: @themeColor;
    }
}

.nav-more {
    flex-shrink: 0;
    display: flex;
    padding: 10rpx 30rpx;
    color: #333333;
    font-size: 30rpx;
    justify-content: center;
    align-items: center;

    .icon{
        width: 12rpx;
        height: 20rpx;
        margin-left: 20rpx;
    }
}
/*nav end*/